#! /bin/sh
#########################################################################
##
## This file is part of the SAMRAI distribution.  For full copyright 
## information, see COPYRIGHT and LICENSE. 
##
## Copyright:     (c) 1997-2021 Lawrence Livermore National Security, LLC
## Description:   shell script generating Cscope cross reference symbol database
##
#########################################################################

# Go to the top level SAMRAI directory and make sure we get there.
cd `dirname $0`/../.. || exit 1;
test -d "source/hierarchy/patches" || exit 1
pwd

rm -fr cscope.*
find . -name \*.[cChI] -type f > cscope.files
cscope -b -q -k
